Skip to content

GH-50569: [Ruby] Add ArrowFormat::RecordBatch.new(values) - #50570

Merged
kou merged 1 commit into
apache:mainfrom
kou:ruby-record-batch-builder
Jul 21, 2026
Merged

GH-50569: [Ruby] Add ArrowFormat::RecordBatch.new(values)#50570
kou merged 1 commit into
apache:mainfrom
kou:ruby-record-batch-builder

Conversation

@kou

@kou kou commented Jul 21, 2026

Copy link
Copy Markdown
Member

Rationale for this change

It's convenient that we can build a record batch from Ruby objects.

What changes are included in this PR?

  • Add ArrowFormat::RecordBatch.new({name1: column1, name2: column2, ...}) # column mode
  • Add ArrowFormat::RecordBatch.new([{name1: value1_1, name2: value2_1}, {name1: value1_2, name2: value2_2}, ...]) # row mode

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

Copilot AI review requested due to automatic review settings July 21, 2026 05:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #50569 has been automatically assigned in GitHub to PR creator.

@kou

kou commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

+1

@kou
kou merged commit 0f54c05 into apache:main Jul 21, 2026
33 checks passed
@kou kou removed the awaiting committer review Awaiting committer review label Jul 21, 2026
@kou
kou deleted the ruby-record-batch-builder branch July 21, 2026 06:48
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 0f54c05.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 127 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants